package com.liujianlei.forum_system.service;

import com.liujianlei.forum_system.model.Message;

import java.util.List;

/**
 * @author tongchen
 * @create 2023-08-11 10:34
 */
public interface IMessageService {
     void createMessage(Message message);
     Integer getUnreadCount(Long receiveUserId);
     List<Message>selectByReceiveUserId (Long receiveUserId);
     void updateStateById(Long id ,Byte state);
     Message selectById(Long id);
     void reply(Long replyMessageId,Message message);
}
